package com.yanzu.module.member.controller.app.store.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Schema(description = "miniapp - 门店信息保存 Response VO")
@Data
@ToString(callSuper = true)
public class AppStoreInfoReqVO {

    @Schema(description = "门店ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13809")
    private Long storeId;

    @Schema(description = "门店名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotNull(message = "门店名称不能为空")
    private String storeName;

    @Schema(description = "城市名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotNull(message = "城市名称不能为空")
    private String cityName;

    @Schema(description = "缩略图url")
    @NotNull(message = "缩略图url不能为空")
    private String headImg;

    @Schema(description = "门店风采图片url")
//    @NotNull(message = "门店风采图片url不能为空")
    private String storeEnvImg;

    @Schema(description = "banner图片url")
    @NotNull(message = "banner图片url不能为空")
    private String bannerImg;

    @Schema(description = "门店公告")
    @NotNull(message = "门店公告不能为空")
    private String notice;

    @Schema(description = "纬度")
    @NotNull(message = "纬度不能为空")
    @Max(value = 999,message = "纬度最大999")
    private Double lat;

    @Schema(description = "经度")
    @Max(value = 999,message = "经度最大999")
    @NotNull(message = "经度不能为空")
    private Double lon;

    @Schema(description = "详细地址")
    @NotNull(message = "详细地址不能为空")
    private String address;

    @Schema(description = "wifi信息")
    @NotNull(message = "wifi名称不能为空")
    private String wifiInfo;

    @Schema(description = "wifi密码")
    @NotNull(message = "wifi密码不能为空")
    @Size(min = 8,message = "wifi密码最少8位")
    private String wifiPwd;

    @Schema(description = "简洁模式")
    private Boolean simpleModel;


    @Schema(description = "客服电话")
    @NotNull(message = "客服电话不能为空")
    private String kefuPhone;


    @Schema(description = "订单清洁时间")
    private Integer clearTime;

    @Schema(description = "清洁时开放房间")
    private Boolean clearOpen;

    @Schema(description = "预约按钮照片")
    private String btnImg;

    @Schema(description = "团购按钮照片")
    private String tgImg;

    @Schema(description = "充值按钮照片")
    private String czImg;

    @Schema(description = "wifi按钮照片")
    private String wifiImg;

    @Schema(description = "切换门店按钮照片")
    private String qhImg;

    @Schema(description = "一键开门按钮照片")
    private String openImg;

    @Schema(description = "客服按钮照片")
    private String kfImg;

    @Schema(description = "显示通宵价格")
    private Boolean showTxPrice;
    @Schema(description = "通宵开始小时")
    private Integer txStartHour;
    @Schema(description = "通宵小时时长")
    private Integer txHour;
    @Schema(description = "延时关灯")
    private Boolean delayLight;
    @Schema(description = "启用工作日价格")
    private Boolean workPrice;
    @Schema(description = "订单门禁常开")
    private Boolean orderDoorOpen;

    @Schema(description = "通通用户名")
    private String ttlockUsername;

    @Schema(description = "通通密码")
    private String ttlockPassword;

    @Schema(description = "闪优用户名")
    private String smyooUsername;

    @Schema(description = "闪优用户名")
    private String smyooPassword;
}
